﻿using System;
using System.Collections.Generic;
/// <summary>
/// 技能作用对象选取定义，
/// </summary>
public class TargetSelectDefineInfo
{
    public TargetSelectType targetSelectType;

    public RangeShapeType rangeShapeType;

    public float radius;
    /// <summary>
    /// 圆柱体使用
    /// </summary>
    public float height;
    /// <summary>
    /// 以自我为中心，选取自我的前方为方向，向两边展开扇形的角度
    /// </summary>
    public float angle = 360;
}

/// <summary>
/// 目标选取方式
/// </summary>
public enum TargetSelectType
{
    /// <summary>
    /// 玩家选取，比如：用UI或鼠标等方式操作选取
    /// </summary>
    PlayerSelect,

    /// <summary>
    /// 范围选取，以某点为中心，展开球体或园柱体
    /// </summary>
    RangeSelection,
    /// <summary>
    /// 范围选取，以自我为中心，选取自我的前方为方向，向两边展开扇形柱体或园柱体
    /// </summary>
    RangeSelection_Self,
}
/// <summary>
/// 目标选取的范围计算方式
/// </summary>
public enum RangeShapeType
{
    /// <summary>
    /// 圆柱
    /// </summary>
    Cylinder,
    /// <summary>
    /// 球体
    /// </summary>
    sphere,
}